/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pkl53.model;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Prima
 */
@Entity
@Table(name = "b1coba")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "B1coba.findAll", query = "SELECT b FROM B1coba b"),
    @NamedQuery(name = "B1coba.findByKks", query = "SELECT b FROM B1coba b WHERE b.kks = :kks"),
    @NamedQuery(name = "B1coba.findByB1r1", query = "SELECT b FROM B1coba b WHERE b.b1r1 = :b1r1"),
    @NamedQuery(name = "B1coba.findByB1r2", query = "SELECT b FROM B1coba b WHERE b.b1r2 = :b1r2"),
    @NamedQuery(name = "B1coba.findByB1r3", query = "SELECT b FROM B1coba b WHERE b.b1r3 = :b1r3"),
    @NamedQuery(name = "B1coba.findByB1r4", query = "SELECT b FROM B1coba b WHERE b.b1r4 = :b1r4"),
    @NamedQuery(name = "B1coba.findByB1R5a", query = "SELECT b FROM B1coba b WHERE b.b1R5a = :b1R5a"),
    @NamedQuery(name = "B1coba.findByB1R5b", query = "SELECT b FROM B1coba b WHERE b.b1R5b = :b1R5b"),
    @NamedQuery(name = "B1coba.findByB1r6", query = "SELECT b FROM B1coba b WHERE b.b1r6 = :b1r6"),
    @NamedQuery(name = "B1coba.findByB1r7", query = "SELECT b FROM B1coba b WHERE b.b1r7 = :b1r7"),
    @NamedQuery(name = "B1coba.findByB1r8", query = "SELECT b FROM B1coba b WHERE b.b1r8 = :b1r8"),
    @NamedQuery(name = "B1coba.findByB1r9", query = "SELECT b FROM B1coba b WHERE b.b1r9 = :b1r9"),
    @NamedQuery(name = "B1coba.findByB2r1", query = "SELECT b FROM B1coba b WHERE b.b2r1 = :b2r1"),
    @NamedQuery(name = "B1coba.findByB2r2", query = "SELECT b FROM B1coba b WHERE b.b2r2 = :b2r2"),
    @NamedQuery(name = "B1coba.findByB3Nama", query = "SELECT b FROM B1coba b WHERE b.b3Nama = :b3Nama"),
    @NamedQuery(name = "B1coba.findByB3nim", query = "SELECT b FROM B1coba b WHERE b.b3nim = :b3nim"),
    @NamedQuery(name = "B1coba.findByB3TglCacah", query = "SELECT b FROM B1coba b WHERE b.b3TglCacah = :b3TglCacah"),
    @NamedQuery(name = "B1coba.findByB3BlnCacah", query = "SELECT b FROM B1coba b WHERE b.b3BlnCacah = :b3BlnCacah")})
public class B1coba implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "KKS")
    private String kks;
    @Basic(optional = false)
    @Column(name = "B1R1")
    private String b1r1;
    @Basic(optional = false)
    @Column(name = "B1R2")
    private String b1r2;
    @Basic(optional = false)
    @Column(name = "B1R3")
    private String b1r3;
    @Basic(optional = false)
    @Column(name = "B1R4")
    private String b1r4;
    @Basic(optional = false)
    @Column(name = "B1R5a")
    private String b1R5a;
    @Basic(optional = false)
    @Column(name = "B1R5b")
    private String b1R5b;
    @Basic(optional = false)
    @Column(name = "B1R6")
    private String b1r6;
    @Basic(optional = false)
    @Column(name = "B1R7")
    private String b1r7;
    @Basic(optional = false)
    @Column(name = "B1R8")
    private String b1r8;
    @Basic(optional = false)
    @Column(name = "B1R9")
    private String b1r9;
    @Basic(optional = false)
    @Column(name = "B2R1")
    private String b2r1;
    @Basic(optional = false)
    @Column(name = "B2R2")
    private String b2r2;
    @Basic(optional = false)
    @Column(name = "B3Nama")
    private String b3Nama;
    @Basic(optional = false)
    @Column(name = "B3NIM")
    private String b3nim;
    @Basic(optional = false)
    @Column(name = "B3TglCacah")
    private String b3TglCacah;
    @Basic(optional = false)
    @Column(name = "B3BlnCacah")
    private String b3BlnCacah;

    public B1coba() {
    }

    public B1coba(String kks) {
        this.kks = kks;
    }

    public B1coba(String kks, String b1r1, String b1r2, String b1r3, String b1r4, String b1R5a, String b1R5b, String b1r6, String b1r7, String b1r8, String b1r9, String b2r1, String b2r2, String b3Nama, String b3nim, String b3TglCacah, String b3BlnCacah) {
        this.kks = kks;
        this.b1r1 = b1r1;
        this.b1r2 = b1r2;
        this.b1r3 = b1r3;
        this.b1r4 = b1r4;
        this.b1R5a = b1R5a;
        this.b1R5b = b1R5b;
        this.b1r6 = b1r6;
        this.b1r7 = b1r7;
        this.b1r8 = b1r8;
        this.b1r9 = b1r9;
        this.b2r1 = b2r1;
        this.b2r2 = b2r2;
        this.b3Nama = b3Nama;
        this.b3nim = b3nim;
        this.b3TglCacah = b3TglCacah;
        this.b3BlnCacah = b3BlnCacah;
    }

    public String getKks() {
        return kks;
    }

    public void setKks(String kks) {
        this.kks = kks;
    }

    public String getB1r1() {
        return b1r1;
    }

    public void setB1r1(String b1r1) {
        this.b1r1 = b1r1;
    }

    public String getB1r2() {
        return b1r2;
    }

    public void setB1r2(String b1r2) {
        this.b1r2 = b1r2;
    }

    public String getB1r3() {
        return b1r3;
    }

    public void setB1r3(String b1r3) {
        this.b1r3 = b1r3;
    }

    public String getB1r4() {
        return b1r4;
    }

    public void setB1r4(String b1r4) {
        this.b1r4 = b1r4;
    }

    public String getB1R5a() {
        return b1R5a;
    }

    public void setB1R5a(String b1R5a) {
        this.b1R5a = b1R5a;
    }

    public String getB1R5b() {
        return b1R5b;
    }

    public void setB1R5b(String b1R5b) {
        this.b1R5b = b1R5b;
    }

    public String getB1r6() {
        return b1r6;
    }

    public void setB1r6(String b1r6) {
        this.b1r6 = b1r6;
    }

    public String getB1r7() {
        return b1r7;
    }

    public void setB1r7(String b1r7) {
        this.b1r7 = b1r7;
    }

    public String getB1r8() {
        return b1r8;
    }

    public void setB1r8(String b1r8) {
        this.b1r8 = b1r8;
    }

    public String getB1r9() {
        return b1r9;
    }

    public void setB1r9(String b1r9) {
        this.b1r9 = b1r9;
    }

    public String getB2r1() {
        return b2r1;
    }

    public void setB2r1(String b2r1) {
        this.b2r1 = b2r1;
    }

    public String getB2r2() {
        return b2r2;
    }

    public void setB2r2(String b2r2) {
        this.b2r2 = b2r2;
    }

    public String getB3Nama() {
        return b3Nama;
    }

    public void setB3Nama(String b3Nama) {
        this.b3Nama = b3Nama;
    }

    public String getB3nim() {
        return b3nim;
    }

    public void setB3nim(String b3nim) {
        this.b3nim = b3nim;
    }

    public String getB3TglCacah() {
        return b3TglCacah;
    }

    public void setB3TglCacah(String b3TglCacah) {
        this.b3TglCacah = b3TglCacah;
    }

    public String getB3BlnCacah() {
        return b3BlnCacah;
    }

    public void setB3BlnCacah(String b3BlnCacah) {
        this.b3BlnCacah = b3BlnCacah;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (kks != null ? kks.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof B1coba)) {
            return false;
        }
        B1coba other = (B1coba) object;
        if ((this.kks == null && other.kks != null) || (this.kks != null && !this.kks.equals(other.kks))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "pkl53.model.B1coba[ kks=" + kks + " ]";
    }
    
}
